﻿Imports ExternalResource.IconPackage
Public Class dlgHeightLight
    Public strHeightLight As String
    Private Sub OK_Button_Click() Handles MyYesCancelPanel.OK_Clicked
        strHeightLight = txtHeightLight.Text.Trim
        If strHeightLight = String.Empty Then
            MsgBox("The HeightLight Will Be Clear", MsgBoxStyle.Critical, "Warning")
        End If
        Me.DialogResult = System.Windows.Forms.DialogResult.OK
        Me.Close()
    End Sub
    Private Sub Cancel_Button_Click() Handles MyYesCancelPanel.NO_Clicked
        Me.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.Close()
    End Sub
    Private Sub JumpTo_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        lblHeightLightText.Text = GetTextInLanguageDoc("HeightLightText", TextMode.Text)
        MyYesCancelPanel.OK_Text = GetTextInLanguageDoc("OK", TextMode.Text)
        MyYesCancelPanel.NO_Text = GetTextInLanguageDoc("Cancel", TextMode.Text)
    End Sub
End Class